Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Tip Xantooburoden 28.Jan.04 08:47 AM a Web browser
Domino Designer 6.0.1 CF2 Windows XP


I create an action view to associate my alcatel soft telephone with notes in my addreess book...

In my view when I click to the button ...it says ...Object variable no set

What are missing ??

My button action name "DIAL"

Declare Function tapiRequestMakeCall Lib "TAPI32.DLL" (ByVal NumTel As String, ByVal NomAppli As String, ByVal Nom As String, ByVal Comm As String) As Long

And ,
"Evénements - Click") :

Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim tapi_err As Long

Set uidoc = workspace.CurrentDocument
tapi_err = tapiRequestMakeCall(uidoc.fieldGetText"OfficePhoneNumber"), "Lotus Notes", "tmp", "Ok")
if (tapi_err <> 0) Then MessageBox "TapiRequestMaleCall error :" & Str(tapi_err)
End Sub

*****
In my form the action works, But I prefer put this action in the view ...






Object variable no set when I click... (~Tip Xantooburo... 28.Jan.04)
. . RE: Object variable no set when I c... (~Bill Quetfooch... 28.Jan.04)
. . "Notes error cannot locate field ..... (~Tip Xantooburo... 28.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS